home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
restaurante_1072.swf
/
scripts
/
__Packages
/
Food.as
< prev
next >
Wrap
Text File
|
2009-04-16
|
3KB
|
88 lines
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
if(!_global.Food)
{
_global.Food extends MissionItem;
var _loc2_ = _global.Food = function($mc, $t)
{
super($mc);
this._table = $t;
this.__set__status(Food.FULL);
this.putOnKitchen();
}.prototype;
_loc2_.putOnKitchen = function()
{
var obj = this;
this.__get__mc().onRelease = function()
{
var _loc1_ = Mission.getMission().__get__waitress();
if(!_loc1_.__get__isBusy())
{
Mission.getMission().__get__waitress().foodService(Mission.getMission().__get__kitchen().getFood(obj),obj.__get__table());
}
};
};
_loc2_.__get__table = function()
{
return this._table;
};
_loc2_.__set__mc = function(value)
{
this._mc = value;
this.__get__mc().gotoAndStop(this.__get__status());
return this.__get__mc();
};
_global.Food = function($mc, $t)
{
super($mc);
this._table = $t;
this.__set__status(Food.FULL);
this.putOnKitchen();
}.FULL = "full";
_global.Food = function($mc, $t)
{
super($mc);
this._table = $t;
this.__set__status(Food.FULL);
this.putOnKitchen();
}.HALF = "half";
_global.Food = function($mc, $t)
{
super($mc);
this._table = $t;
this.__set__status(Food.FULL);
this.putOnKitchen();
}.EMPTY = "empty";
§§push(_loc2_.addProperty("mc",function()
{
}
,_loc2_.__set__mc));
§§push(_loc2_.addProperty("table",_loc2_.__get__table,function()
{
}
));
§§push(ASSetPropFlags(_global.Food.prototype,null,1));
}
§§pop();
}
}
§§goto(addr175);
}
§§push(getTimer());
}
addr175: